package org.example.trainTicketSystem.DTO;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Positive;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class GetTicketDTO {

    @NotNull(message = "列车ID不能为空")
    @Positive(message = "列车ID必须为正整数")
    private Integer trainId;

    private String seatType;

    private String status;

}
